package com.yy.bolg.dao;

import com.yy.bolg.entity.ElectricianBean;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * 电工Dao层
 * @author enmaoFu
 * @date 2024-11-01
 */
@Mapper
public interface ElectricianDao extends BaseDao<ElectricianBean>{

    ElectricianBean findOneByPhone(Serializable phone);

    List<ElectricianBean> findAllByCondition(ElectricianBean bean);

    int signIn(ElectricianBean bean);

    int signOut(ElectricianBean bean);

    int upState(ElectricianBean bean);

}
